//
//  NSString+telStr.m
//  NiuHome
//
//  Created by 王云鹏 on 15/7/23.
//  Copyright (c) 2015年 niuhome.com. All rights reserved.
//

#import "NSString+telStr.h"

@implementation NSString (telStr)

- (NSString *)returnTelStr{
    NSMutableString *str = [[NSMutableString alloc]initWithString:self];
    NSRange range = [str rangeOfString:@"-"];
    while (range.location != NSNotFound) {
        [str deleteCharactersInRange:range];
        range = [str rangeOfString:@"-"];
    }
    return str;
}
@end
